package com.bibliotecachancay.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class LectorExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LectorExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andCodLectorIsNull() {
            addCriterion("COD_LECTOR is null");
            return (Criteria) this;
        }

        public Criteria andCodLectorIsNotNull() {
            addCriterion("COD_LECTOR is not null");
            return (Criteria) this;
        }

        public Criteria andCodLectorEqualTo(Integer value) {
            addCriterion("COD_LECTOR =", value, "codLector");
            return (Criteria) this;
        }

        public Criteria andCodLectorNotEqualTo(Integer value) {
            addCriterion("COD_LECTOR <>", value, "codLector");
            return (Criteria) this;
        }

        public Criteria andCodLectorGreaterThan(Integer value) {
            addCriterion("COD_LECTOR >", value, "codLector");
            return (Criteria) this;
        }

        public Criteria andCodLectorGreaterThanOrEqualTo(Integer value) {
            addCriterion("COD_LECTOR >=", value, "codLector");
            return (Criteria) this;
        }

        public Criteria andCodLectorLessThan(Integer value) {
            addCriterion("COD_LECTOR <", value, "codLector");
            return (Criteria) this;
        }

        public Criteria andCodLectorLessThanOrEqualTo(Integer value) {
            addCriterion("COD_LECTOR <=", value, "codLector");
            return (Criteria) this;
        }

        public Criteria andCodLectorIn(List<Integer> values) {
            addCriterion("COD_LECTOR in", values, "codLector");
            return (Criteria) this;
        }

        public Criteria andCodLectorNotIn(List<Integer> values) {
            addCriterion("COD_LECTOR not in", values, "codLector");
            return (Criteria) this;
        }

        public Criteria andCodLectorBetween(Integer value1, Integer value2) {
            addCriterion("COD_LECTOR between", value1, value2, "codLector");
            return (Criteria) this;
        }

        public Criteria andCodLectorNotBetween(Integer value1, Integer value2) {
            addCriterion("COD_LECTOR not between", value1, value2, "codLector");
            return (Criteria) this;
        }

        public Criteria andCodClasificacionIsNull() {
            addCriterion("COD_CLASIFICACION is null");
            return (Criteria) this;
        }

        public Criteria andCodClasificacionIsNotNull() {
            addCriterion("COD_CLASIFICACION is not null");
            return (Criteria) this;
        }

        public Criteria andCodClasificacionEqualTo(Integer value) {
            addCriterion("COD_CLASIFICACION =", value, "codClasificacion");
            return (Criteria) this;
        }

        public Criteria andCodClasificacionNotEqualTo(Integer value) {
            addCriterion("COD_CLASIFICACION <>", value, "codClasificacion");
            return (Criteria) this;
        }

        public Criteria andCodClasificacionGreaterThan(Integer value) {
            addCriterion("COD_CLASIFICACION >", value, "codClasificacion");
            return (Criteria) this;
        }

        public Criteria andCodClasificacionGreaterThanOrEqualTo(Integer value) {
            addCriterion("COD_CLASIFICACION >=", value, "codClasificacion");
            return (Criteria) this;
        }

        public Criteria andCodClasificacionLessThan(Integer value) {
            addCriterion("COD_CLASIFICACION <", value, "codClasificacion");
            return (Criteria) this;
        }

        public Criteria andCodClasificacionLessThanOrEqualTo(Integer value) {
            addCriterion("COD_CLASIFICACION <=", value, "codClasificacion");
            return (Criteria) this;
        }

        public Criteria andCodClasificacionIn(List<Integer> values) {
            addCriterion("COD_CLASIFICACION in", values, "codClasificacion");
            return (Criteria) this;
        }

        public Criteria andCodClasificacionNotIn(List<Integer> values) {
            addCriterion("COD_CLASIFICACION not in", values, "codClasificacion");
            return (Criteria) this;
        }

        public Criteria andCodClasificacionBetween(Integer value1, Integer value2) {
            addCriterion("COD_CLASIFICACION between", value1, value2, "codClasificacion");
            return (Criteria) this;
        }

        public Criteria andCodClasificacionNotBetween(Integer value1, Integer value2) {
            addCriterion("COD_CLASIFICACION not between", value1, value2, "codClasificacion");
            return (Criteria) this;
        }

        public Criteria andCodInstitucionIsNull() {
            addCriterion("COD_INSTITUCION is null");
            return (Criteria) this;
        }

        public Criteria andCodInstitucionIsNotNull() {
            addCriterion("COD_INSTITUCION is not null");
            return (Criteria) this;
        }

        public Criteria andCodInstitucionEqualTo(Integer value) {
            addCriterion("COD_INSTITUCION =", value, "codInstitucion");
            return (Criteria) this;
        }

        public Criteria andCodInstitucionNotEqualTo(Integer value) {
            addCriterion("COD_INSTITUCION <>", value, "codInstitucion");
            return (Criteria) this;
        }

        public Criteria andCodInstitucionGreaterThan(Integer value) {
            addCriterion("COD_INSTITUCION >", value, "codInstitucion");
            return (Criteria) this;
        }

        public Criteria andCodInstitucionGreaterThanOrEqualTo(Integer value) {
            addCriterion("COD_INSTITUCION >=", value, "codInstitucion");
            return (Criteria) this;
        }

        public Criteria andCodInstitucionLessThan(Integer value) {
            addCriterion("COD_INSTITUCION <", value, "codInstitucion");
            return (Criteria) this;
        }

        public Criteria andCodInstitucionLessThanOrEqualTo(Integer value) {
            addCriterion("COD_INSTITUCION <=", value, "codInstitucion");
            return (Criteria) this;
        }

        public Criteria andCodInstitucionIn(List<Integer> values) {
            addCriterion("COD_INSTITUCION in", values, "codInstitucion");
            return (Criteria) this;
        }

        public Criteria andCodInstitucionNotIn(List<Integer> values) {
            addCriterion("COD_INSTITUCION not in", values, "codInstitucion");
            return (Criteria) this;
        }

        public Criteria andCodInstitucionBetween(Integer value1, Integer value2) {
            addCriterion("COD_INSTITUCION between", value1, value2, "codInstitucion");
            return (Criteria) this;
        }

        public Criteria andCodInstitucionNotBetween(Integer value1, Integer value2) {
            addCriterion("COD_INSTITUCION not between", value1, value2, "codInstitucion");
            return (Criteria) this;
        }

        public Criteria andNombresLectorIsNull() {
            addCriterion("NOMBRES_LECTOR is null");
            return (Criteria) this;
        }

        public Criteria andNombresLectorIsNotNull() {
            addCriterion("NOMBRES_LECTOR is not null");
            return (Criteria) this;
        }

        public Criteria andNombresLectorEqualTo(String value) {
            addCriterion("NOMBRES_LECTOR =", value, "nombresLector");
            return (Criteria) this;
        }

        public Criteria andNombresLectorNotEqualTo(String value) {
            addCriterion("NOMBRES_LECTOR <>", value, "nombresLector");
            return (Criteria) this;
        }

        public Criteria andNombresLectorGreaterThan(String value) {
            addCriterion("NOMBRES_LECTOR >", value, "nombresLector");
            return (Criteria) this;
        }

        public Criteria andNombresLectorGreaterThanOrEqualTo(String value) {
            addCriterion("NOMBRES_LECTOR >=", value, "nombresLector");
            return (Criteria) this;
        }

        public Criteria andNombresLectorLessThan(String value) {
            addCriterion("NOMBRES_LECTOR <", value, "nombresLector");
            return (Criteria) this;
        }

        public Criteria andNombresLectorLessThanOrEqualTo(String value) {
            addCriterion("NOMBRES_LECTOR <=", value, "nombresLector");
            return (Criteria) this;
        }

        public Criteria andNombresLectorLike(String value) {
            addCriterion("NOMBRES_LECTOR like", value, "nombresLector");
            return (Criteria) this;
        }

        public Criteria andNombresLectorNotLike(String value) {
            addCriterion("NOMBRES_LECTOR not like", value, "nombresLector");
            return (Criteria) this;
        }

        public Criteria andNombresLectorIn(List<String> values) {
            addCriterion("NOMBRES_LECTOR in", values, "nombresLector");
            return (Criteria) this;
        }

        public Criteria andNombresLectorNotIn(List<String> values) {
            addCriterion("NOMBRES_LECTOR not in", values, "nombresLector");
            return (Criteria) this;
        }

        public Criteria andNombresLectorBetween(String value1, String value2) {
            addCriterion("NOMBRES_LECTOR between", value1, value2, "nombresLector");
            return (Criteria) this;
        }

        public Criteria andNombresLectorNotBetween(String value1, String value2) {
            addCriterion("NOMBRES_LECTOR not between", value1, value2, "nombresLector");
            return (Criteria) this;
        }

        public Criteria andApePaternoIsNull() {
            addCriterion("APE_PATERNO is null");
            return (Criteria) this;
        }

        public Criteria andApePaternoIsNotNull() {
            addCriterion("APE_PATERNO is not null");
            return (Criteria) this;
        }

        public Criteria andApePaternoEqualTo(String value) {
            addCriterion("APE_PATERNO =", value, "apePaterno");
            return (Criteria) this;
        }

        public Criteria andApePaternoNotEqualTo(String value) {
            addCriterion("APE_PATERNO <>", value, "apePaterno");
            return (Criteria) this;
        }

        public Criteria andApePaternoGreaterThan(String value) {
            addCriterion("APE_PATERNO >", value, "apePaterno");
            return (Criteria) this;
        }

        public Criteria andApePaternoGreaterThanOrEqualTo(String value) {
            addCriterion("APE_PATERNO >=", value, "apePaterno");
            return (Criteria) this;
        }

        public Criteria andApePaternoLessThan(String value) {
            addCriterion("APE_PATERNO <", value, "apePaterno");
            return (Criteria) this;
        }

        public Criteria andApePaternoLessThanOrEqualTo(String value) {
            addCriterion("APE_PATERNO <=", value, "apePaterno");
            return (Criteria) this;
        }

        public Criteria andApePaternoLike(String value) {
            addCriterion("APE_PATERNO like", value, "apePaterno");
            return (Criteria) this;
        }

        public Criteria andApePaternoNotLike(String value) {
            addCriterion("APE_PATERNO not like", value, "apePaterno");
            return (Criteria) this;
        }

        public Criteria andApePaternoIn(List<String> values) {
            addCriterion("APE_PATERNO in", values, "apePaterno");
            return (Criteria) this;
        }

        public Criteria andApePaternoNotIn(List<String> values) {
            addCriterion("APE_PATERNO not in", values, "apePaterno");
            return (Criteria) this;
        }

        public Criteria andApePaternoBetween(String value1, String value2) {
            addCriterion("APE_PATERNO between", value1, value2, "apePaterno");
            return (Criteria) this;
        }

        public Criteria andApePaternoNotBetween(String value1, String value2) {
            addCriterion("APE_PATERNO not between", value1, value2, "apePaterno");
            return (Criteria) this;
        }

        public Criteria andFecNacimientoIsNull() {
            addCriterion("FEC_NACIMIENTO is null");
            return (Criteria) this;
        }

        public Criteria andFecNacimientoIsNotNull() {
            addCriterion("FEC_NACIMIENTO is not null");
            return (Criteria) this;
        }

        public Criteria andFecNacimientoEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_NACIMIENTO =", value, "fecNacimiento");
            return (Criteria) this;
        }

        public Criteria andFecNacimientoNotEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_NACIMIENTO <>", value, "fecNacimiento");
            return (Criteria) this;
        }

        public Criteria andFecNacimientoGreaterThan(Date value) {
            addCriterionForJDBCDate("FEC_NACIMIENTO >", value, "fecNacimiento");
            return (Criteria) this;
        }

        public Criteria andFecNacimientoGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_NACIMIENTO >=", value, "fecNacimiento");
            return (Criteria) this;
        }

        public Criteria andFecNacimientoLessThan(Date value) {
            addCriterionForJDBCDate("FEC_NACIMIENTO <", value, "fecNacimiento");
            return (Criteria) this;
        }

        public Criteria andFecNacimientoLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_NACIMIENTO <=", value, "fecNacimiento");
            return (Criteria) this;
        }

        public Criteria andFecNacimientoIn(List<Date> values) {
            addCriterionForJDBCDate("FEC_NACIMIENTO in", values, "fecNacimiento");
            return (Criteria) this;
        }

        public Criteria andFecNacimientoNotIn(List<Date> values) {
            addCriterionForJDBCDate("FEC_NACIMIENTO not in", values, "fecNacimiento");
            return (Criteria) this;
        }

        public Criteria andFecNacimientoBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FEC_NACIMIENTO between", value1, value2, "fecNacimiento");
            return (Criteria) this;
        }

        public Criteria andFecNacimientoNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FEC_NACIMIENTO not between", value1, value2, "fecNacimiento");
            return (Criteria) this;
        }

        public Criteria andFecRegistroIsNull() {
            addCriterion("FEC_REGISTRO is null");
            return (Criteria) this;
        }

        public Criteria andFecRegistroIsNotNull() {
            addCriterion("FEC_REGISTRO is not null");
            return (Criteria) this;
        }

        public Criteria andFecRegistroEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_REGISTRO =", value, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroNotEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_REGISTRO <>", value, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroGreaterThan(Date value) {
            addCriterionForJDBCDate("FEC_REGISTRO >", value, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_REGISTRO >=", value, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroLessThan(Date value) {
            addCriterionForJDBCDate("FEC_REGISTRO <", value, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_REGISTRO <=", value, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroIn(List<Date> values) {
            addCriterionForJDBCDate("FEC_REGISTRO in", values, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroNotIn(List<Date> values) {
            addCriterionForJDBCDate("FEC_REGISTRO not in", values, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FEC_REGISTRO between", value1, value2, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecRegistroNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FEC_REGISTRO not between", value1, value2, "fecRegistro");
            return (Criteria) this;
        }

        public Criteria andFecModificacionIsNull() {
            addCriterion("FEC_MODIFICACION is null");
            return (Criteria) this;
        }

        public Criteria andFecModificacionIsNotNull() {
            addCriterion("FEC_MODIFICACION is not null");
            return (Criteria) this;
        }

        public Criteria andFecModificacionEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_MODIFICACION =", value, "fecModificacion");
            return (Criteria) this;
        }

        public Criteria andFecModificacionNotEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_MODIFICACION <>", value, "fecModificacion");
            return (Criteria) this;
        }

        public Criteria andFecModificacionGreaterThan(Date value) {
            addCriterionForJDBCDate("FEC_MODIFICACION >", value, "fecModificacion");
            return (Criteria) this;
        }

        public Criteria andFecModificacionGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_MODIFICACION >=", value, "fecModificacion");
            return (Criteria) this;
        }

        public Criteria andFecModificacionLessThan(Date value) {
            addCriterionForJDBCDate("FEC_MODIFICACION <", value, "fecModificacion");
            return (Criteria) this;
        }

        public Criteria andFecModificacionLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("FEC_MODIFICACION <=", value, "fecModificacion");
            return (Criteria) this;
        }

        public Criteria andFecModificacionIn(List<Date> values) {
            addCriterionForJDBCDate("FEC_MODIFICACION in", values, "fecModificacion");
            return (Criteria) this;
        }

        public Criteria andFecModificacionNotIn(List<Date> values) {
            addCriterionForJDBCDate("FEC_MODIFICACION not in", values, "fecModificacion");
            return (Criteria) this;
        }

        public Criteria andFecModificacionBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FEC_MODIFICACION between", value1, value2, "fecModificacion");
            return (Criteria) this;
        }

        public Criteria andFecModificacionNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("FEC_MODIFICACION not between", value1, value2, "fecModificacion");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroIsNull() {
            addCriterion("USU_REGISTRO is null");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroIsNotNull() {
            addCriterion("USU_REGISTRO is not null");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroEqualTo(String value) {
            addCriterion("USU_REGISTRO =", value, "usuRegistro");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroNotEqualTo(String value) {
            addCriterion("USU_REGISTRO <>", value, "usuRegistro");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroGreaterThan(String value) {
            addCriterion("USU_REGISTRO >", value, "usuRegistro");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroGreaterThanOrEqualTo(String value) {
            addCriterion("USU_REGISTRO >=", value, "usuRegistro");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroLessThan(String value) {
            addCriterion("USU_REGISTRO <", value, "usuRegistro");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroLessThanOrEqualTo(String value) {
            addCriterion("USU_REGISTRO <=", value, "usuRegistro");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroLike(String value) {
            addCriterion("USU_REGISTRO like", value, "usuRegistro");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroNotLike(String value) {
            addCriterion("USU_REGISTRO not like", value, "usuRegistro");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroIn(List<String> values) {
            addCriterion("USU_REGISTRO in", values, "usuRegistro");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroNotIn(List<String> values) {
            addCriterion("USU_REGISTRO not in", values, "usuRegistro");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroBetween(String value1, String value2) {
            addCriterion("USU_REGISTRO between", value1, value2, "usuRegistro");
            return (Criteria) this;
        }

        public Criteria andUsuRegistroNotBetween(String value1, String value2) {
            addCriterion("USU_REGISTRO not between", value1, value2, "usuRegistro");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionIsNull() {
            addCriterion("USU_MODIFICACION is null");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionIsNotNull() {
            addCriterion("USU_MODIFICACION is not null");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionEqualTo(String value) {
            addCriterion("USU_MODIFICACION =", value, "usuModificacion");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionNotEqualTo(String value) {
            addCriterion("USU_MODIFICACION <>", value, "usuModificacion");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionGreaterThan(String value) {
            addCriterion("USU_MODIFICACION >", value, "usuModificacion");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionGreaterThanOrEqualTo(String value) {
            addCriterion("USU_MODIFICACION >=", value, "usuModificacion");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionLessThan(String value) {
            addCriterion("USU_MODIFICACION <", value, "usuModificacion");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionLessThanOrEqualTo(String value) {
            addCriterion("USU_MODIFICACION <=", value, "usuModificacion");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionLike(String value) {
            addCriterion("USU_MODIFICACION like", value, "usuModificacion");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionNotLike(String value) {
            addCriterion("USU_MODIFICACION not like", value, "usuModificacion");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionIn(List<String> values) {
            addCriterion("USU_MODIFICACION in", values, "usuModificacion");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionNotIn(List<String> values) {
            addCriterion("USU_MODIFICACION not in", values, "usuModificacion");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionBetween(String value1, String value2) {
            addCriterion("USU_MODIFICACION between", value1, value2, "usuModificacion");
            return (Criteria) this;
        }

        public Criteria andUsuModificacionNotBetween(String value1, String value2) {
            addCriterion("USU_MODIFICACION not between", value1, value2, "usuModificacion");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}